import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
//引入全局组件
import GlobalComDemo from './components/GlobalComDemo.vue'

//引入实例路由
import router from './router/index.js'

import store from './store'

const app =createApp(App)
app.component(GlobalComDemo.name,GlobalComDemo)

//挂载路由
app.use(router)

app.use(router)

//注册Vuex

app.use(store)



app.mount('#app')
